#pragma once

#include "BaseApplication.h"
#include "res/resource.h"
#include "GameModel.h"
#include "GameControl.h"

class GameView : public BaseApplication
{
	Ogre::SceneNode* ogreNode;

	GameModel* gameModel;
	GameControl* gameControl;

	Ogre::TexturePtr camImage;
	MyGUI::StaticImagePtr image;

public:
    GameView(void);
    virtual ~GameView(void);

protected:
    virtual void createScene(void);
	virtual bool frameRenderingQueued(const Ogre::FrameEvent& evt);
	virtual bool configure();
	virtual bool keyPressed( const OIS::KeyEvent &arg );
	virtual bool keyReleased( const OIS::KeyEvent &arg );
	virtual bool mouseMoved( const OIS::MouseEvent &arg );
};


